package com.atlin.beaconsapicommon.service;


/**
 * @author atlin
 * @description userInterfaceInfo
 * @createDate date
 */
public interface InnerUserInterfaceInfoService {

    /**
     * 检查是否有足够的调用次数
     *
     * @param interfaceInfoId
     * @param userId
     * @return
     */
    boolean invokePreCheck(long interfaceInfoId, long userId);


    /**
     * 调用接口统计
     *
     * @param interfaceInfoId
     * @param userId
     * @return
     */
    boolean invokeCount(long interfaceInfoId, long userId);

}
